package com.example.dao;

import com.example.pojo.*;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderAdminDao {
    Page<OrderAdmin> findByCondition(String queryString);
    public void deleteById(Integer id);
    OrderAdmin findById(Integer id);
    void edit(OrderAdmin orderAdmin);

    void insertOrder(OrderAdmin orderAdmin);
     List<OrderAdmin> findUserOrder(Integer uid);

    Provice findProvinceById(String prov);

    City findCityById(String city);

    Country findCountryById(String country);

    void insertAddress(AddressAdmin addressAdmin);
}
